

package com.yz.common.entity;

import com.baomidou.mybatisplus.annotations.TableName;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;


/**
 * 绘图
 */
@TableName("tb_drawing")
public class DrawingEntity implements Serializable {
	private long id;
	private String number;
	private String name;
	private String proportion;
	private String way;
	private String day;
	private String plotter;
	private String remark;
	private String url;
	private String path;
	@Min(value = 1,message = "请填写正确的创建者id")
	private long posterId;
	@NotNull(message = "创建时间不能为空")
	private Date postTime;
	@Min(value = 1,message = "请填写正确的项目id")
	private long projectId;
	private Date updateAt;
	@NotNull(message = "创建者不能为空")
	private String createUser;
	private String type;
	private Date deleteAt;
	private long dataId;
	@Min(value = 1,message = "勘探或挖掘类型不能小于1")
	@Max(value =2,message = "勘探或挖掘类型不能大于2")
	private int typeWhere;
	private long typeForm;

	public void setDay(String day) {
		this.day = day;
	}

	public String getDay() {
		return day;
	}

	public void setTypeForm(long typeForm) {
		this.typeForm = typeForm;
	}

	public long getTypeForm() {
		return typeForm;
	}

	public void setTypeWhere(int typeWhere) {
		this.typeWhere = typeWhere;
	}

	public int getTypeWhere() {
		return typeWhere;
	}

	public void setDataId(long dataId) {
		this.dataId = dataId;
	}


	public long getDataId() {
		return dataId;
	}
	public void setDeleteAt(Date deleteAt) {
		this.deleteAt = deleteAt;
	}

	public Date getDeleteAt() {
		return deleteAt;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getType() {
		return type;
	}

	public void setUpdateAt(Date updateAt) {
		this.updateAt = updateAt;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}


	public Date getUpdateAt() {
		return updateAt;
	}

	public String getCreateUser() {
		return createUser;
	}



	public void setProjectId(long projectId) {
		this.projectId = projectId;
	}

	public long getProjectId() {
		return projectId;
	}

	public void setPosterId(long posterId) {
		this.posterId = posterId;
	}

	public void setPostTime(Date postTime) {
		this.postTime = postTime;
	}

	public long getPosterId() {
		return posterId;
	}

	public Date getPostTime() {
		return postTime;
	}

	public void setId(long id) {
		this.id = id;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setProportion(String proportion) {
		this.proportion = proportion;
	}

	public void setWay(String way) {
		this.way = way;
	}


	public void setPlotter(String plotter) {
		this.plotter = plotter;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public long getId() {
		return id;
	}

	public String getNumber() {
		return number;
	}

	public String getName() {
		return name;
	}

	public String getProportion() {
		return proportion;
	}

	public String getWay() {
		return way;
	}


	public String getPlotter() {
		return plotter;
	}

	public String getRemark() {
		return remark;
	}

	public String getUrl() {
		return url;
	}

	public String getPath() {
		return path;
	}
}